Total Complexity | 78 |
Dependencies | 0 |
Dependents | 1 |
Total lines | 764 |
Lines of code | 269 |
Logical lines of code | 159 |
Comment lines | 334 |
Methods | 28 |
Properties | 14 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
set_db_interface() | 52 | 6 | 26 | |
__construct() | 56 | 6 | 19 | |
upgrade_to() | 57 | 5 | 19 | |
upgrade() | 57 | 5 | 17 | |
setup() | 61 | 4 | 13 | |
get_callable() | 61 | 4 | 13 | |
maybe_upgrade() | 63 | 4 | 13 | |
switch_blog() | 62 | 4 | 11 | |
is_upgradeable() | 65 | 4 | 9 | |
needs_upgrade() | 64 | 3 | 10 | |
is_testing() | 71 | 3 | 6 | |
set_db_version() | 65 | 3 | 9 | |
exists() | 63 | 2 | 11 | |
column_exists() | 62 | 2 | 11 | |
delete_db_version() | 72 | 2 | 5 | |
get_db_version() | 72 | 2 | 5 | |
truncate() | 65 | 2 | 9 | |
count() | 66 | 2 | 9 | |
delete_all() | 66 | 2 | 9 | |
drop() | 65 | 2 | 9 | |
create() | 65 | 2 | 9 | |
uninstall() | 71 | 2 | 6 | |
install() | 71 | 2 | 6 | |
get_table_name() | 82 | 1 | 3 | |
set_schema() | 100 | 1 | 0 | |
add_hooks() | 72 | 1 | 5 | |
is_global() | 80 | 1 | 3 | |
get_version() | 77 | 1 | 4 |